    <br /><br />
    <?php
    if(isset($result))
    {
    ?>
    <table border="1" style="width:100%;">
        <thead>
        <tr>
            <th>Mã lớp</th>
            <th>Tên môn học</th>
            <th>MSSV</th>
            <th>Tên sinh viên</th>
            <th>MSGV</th>
            <th>Tên giảng viên</th>
            <th>Điểm</th>
        </tr>
        </thead>
        <?php
        $size = $result->getSize();
        if($size == 0)
        {
            ?>
            <tr>
                <td colspan="6">không tìm thấy kết quả thỏa mãn</td>
            </tr>
            <?php
        }
        else
        {
            for($i = 0;$i < $size; $i++)
            {
                $row = $result->getRow($i);
                ?>
            <tr>
                <td><?php echo $row->class_id;?></td>
                <td><?php echo $row->subject_name;?></td>
                <td><?php echo $row->student_id;?></td>
                <td><?php echo $row->student_name;?></td>
                <td><?php echo $row->lecture_id;?></td>
                <td><?php echo $row->lecture_name;?></td>
                <td><?php echo $row->student_result;?></td>
            </tr>
                <?php
            }
        }
        ?>
    </table>
    <?php
    }
    ?>